package com.common.library.net;

import com.google.gson.JsonElement;

/**
 */
public class HttpResponse {
    private String tag;
    private String errCode;
    private String msg;
    private JsonElement data;
    public JsonElement getData() {
        return data;
    }
    public void setData(JsonElement data) {
        this.data = data;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getErrCode() {
        return errCode;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "HttpResponse{" +
                "tag='" + tag + '\'' +
                ", errCode='" + errCode + '\'' +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }
}
